WordDocumentReplace(String, String) Method

Replaces all occurrences of a specified oldText with newText.

Definition

Namespace: Independentsoft.Office.Word
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public void Replace(
	string oldText,
	string newText
)

Parameters

oldText  String
The string to replace.
newText  String
The string that replaces oldText.

See Also